#include "common.h"
#include "X11Monitor.h"

#include <QDir>

IMonitor& Platform::monitor()
{
    return Xdotool::instance();
}

unsigned long Platform::getActiveWindowPID()
{
    return Xdotool::instance().getActiveWindowPID();
}

QString Platform::getActiveWindowName()
{
    return Xdotool::instance().getActiveWindowName();
}

QString Platform::getActiveApplicationName()
{
    return Xdotool::instance().getActiveWindowName();
}

QDir Platform::dataDir = QDir(QDir::homePath() + "/.local/share/TranslateStar");
